<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>cryptsetup</Name>
        <Homepage>https://gitlab.com/cryptsetup/cryptsetup</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <Icon>cryptsetup</Icon>
        <IsA>app:cli</IsA>
        <Summary>Userspace setup tool for transparent encryption of block devices using dm-crypt</Summary>
        <Description>Userspace setup tool for transparent encryption of block devices using dm-crypt</Description>
        <Archive sha1sum="8098a06269c4268b0446b34f7b20e8fa6032e006" type="tarxz">https://mirrors.edge.kernel.org/pub/linux/utils/cryptsetup/v2.6/cryptsetup-2.6.0.tar.xz</Archive>
        <BuildDependencies>
            <Dependency versionFrom="2.02.186">device-mapper-devel</Dependency>
            <Dependency>libgpg-error-devel</Dependency>
            <Dependency>libgcrypt-devel</Dependency>
            <Dependency>python-devel</Dependency>
            <Dependency>libutil-linux-devel</Dependency>
            <Dependency versionFrom="1.19">popt-devel</Dependency>
            <Dependency>popt</Dependency>
			<Dependency>openssl-devel</Dependency>
			<Dependency>json-c-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>cryptsetup</Name>
        <PartOf>util.crypt</PartOf>
        <RuntimeDependencies>
            <Dependency version="current">libcryptsetup</Dependency>
            <Dependency>popt</Dependency>
			<Dependency>libutil-linux</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/sbin</Path>
            <Path fileType="manfile">/usr/share/man</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>
    
    <Package>
        <Name>libcryptsetup</Name>
        <PartOf>util.crypt</PartOf>
        <Summary>cryptsetup libraries</Summary>
        <RuntimeDependencies>
            <Dependency>device-mapper</Dependency>
            <Dependency>libgpg-error</Dependency>
            <Dependency>libgcrypt</Dependency>
            <Dependency>libutil-linux</Dependency>
			<Dependency>openssl</Dependency>
			<Dependency>json-c</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/lib/cryptsetup</Path>
            <Path fileType="library">/lib/libcryptsetup.so*</Path>
        </Files>
    </Package>
    
    <Package>
        <Name>libcryptsetup-devel</Name>
        <PartOf>programming.devel</PartOf>
        <Summary>libcryptsetup devel files</Summary>
        <RuntimeDependencies>
            <Dependency version="current">libcryptsetup</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="library">/usr/lib/pkgconfig/libcryptsetup.pc</Path>
        </Files>
    </Package>
    
<!--    <Package>
        <Name>python-pycryptsetup</Name>
        <PartOf>programming.language.python</PartOf>
        <Summary>Python backend for cryptsetup</Summary>
        <RuntimeDependencies>
            <Dependency>python</Dependency>
            <Dependency version="current">libcryptsetup</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/python2.7/site-packages/pycryptsetup.so</Path>
        </Files>
    </Package>-->

    <History>
        <Update release="13">
            <Date>2022-12-06</Date>
            <Version>2.6.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="12">
            <Date>2022-09-21</Date>
            <Version>2.3.6</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2022-07-21</Date>
            <Version>2.3.4</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="10">
            <Date>2021-05-28</Date>
            <Version>2.3.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2020-12-09</Date>
            <Version>2.3.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2020-10-24</Date>
            <Version>2.2.2</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2020-04-20</Date>
            <Version>2.2.2</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2019-12-27</Date>
            <Version>2.2.2</Version>
            <Comment>Version bump</Comment>
            <Name>idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2019-01-01</Date>
            <Version>1.7.5</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2018-07-15</Date>
            <Version>1.7.3</Version>
            <Comment>Rebuild.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-01-29</Date>
            <Version>1.7.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-04-27</Date>
            <Version>1.7.1</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-08</Date>
            <Version>1.7.1</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
